From: Daniel van Vugt Date: Tue, 9 Jun 2026 07:44:39 +0000 (+0800) Subject: appDisplay: Clip the icon+label to allocation when expanding X-Git-Tag: archive/raspbian/50.5-1+rpi1^2~14^2^2~6 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=14184ad278ff33ac7e29fdd6f2ad5e37dd0511ba;p=gnome-shell.git appDisplay: Clip the icon+label to allocation when expanding It's hard to see at regular speed, but if you slow down the animation then it becomes apparent the label was appearing outside the tile during expansion. This keeps it clipped inside the expanding tile. Part-of: (cherry picked from commit 60ec1fae0d581490f2a82cb60499731977bbdfff) --- diff --git a/js/ui/appDisplay.js b/js/ui/appDisplay.js index f967b5ea6..82e41d5e6 100644 --- a/js/ui/appDisplay.js +++ b/js/ui/appDisplay.js @@ -1909,6 +1909,7 @@ class AppViewItem extends St.Button { leader.disconnect(id); }); + this.icon.clip_to_allocation = expand; leader.save_easing_state(); leader.set_easing_duration(expand ? APP_ICON_TITLE_EXPAND_TIME